package cn.huiyunche.base.service.vo;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户意愿路线VO
 *
 * @author houjianhui
 */
public class DUserAddressVo implements Serializable {

    private static final long serialVersionUID = -8091328494481545739L;

    private Long id;

    private Long userId;

    @NotBlank(message = "省编码不能为空")
    private String departProvinceCode;

    @NotBlank(message = "省名称不能为空")
    private String departProvinceName;

    private String departCityCode;

    private String departCityName;

    private String departCountyCode;

    private String departCountyName;

    private String departUnitName;

    private String departAddress;

    private String departContact;

    private String departPhone;

    @NotBlank(message = "省编码不能为空")
    private String receiptProvinceCode;

    @NotBlank(message = "省名称不能为空")
    private String receiptProvinceName;

    private String receiptCityCode;

    private String receiptCityName;

    private String receiptCountyCode;

    private String receiptCountyName;

    private String receiptUnitName;

    private String receiptAddress;

    private String receiptContact;

    private String receiptPhone;

    private String isDefault;

    private String comment;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.id
     *
     * @param id the value for d_user_address.id
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.user_id
     *
     * @return the value of d_user_address.user_id
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.user_id
     *
     * @param userId the value for d_user_address.user_id
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_province_code
     *
     * @return the value of d_user_address.depart_province_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartProvinceCode() {
        return departProvinceCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_province_code
     *
     * @param departProvinceCode the value for d_user_address.depart_province_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartProvinceCode(String departProvinceCode) {
        this.departProvinceCode = departProvinceCode == null ? null : departProvinceCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_province_name
     *
     * @return the value of d_user_address.depart_province_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartProvinceName() {
        return departProvinceName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_province_name
     *
     * @param departProvinceName the value for d_user_address.depart_province_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartProvinceName(String departProvinceName) {
        this.departProvinceName = departProvinceName == null ? null : departProvinceName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_city_code
     *
     * @return the value of d_user_address.depart_city_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartCityCode() {
        return departCityCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_city_code
     *
     * @param departCityCode the value for d_user_address.depart_city_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartCityCode(String departCityCode) {
        this.departCityCode = departCityCode == null ? null : departCityCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_city_name
     *
     * @return the value of d_user_address.depart_city_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartCityName() {
        return departCityName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_city_name
     *
     * @param departCityName the value for d_user_address.depart_city_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartCityName(String departCityName) {
        this.departCityName = departCityName == null ? null : departCityName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_county_code
     *
     * @return the value of d_user_address.depart_county_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartCountyCode() {
        return departCountyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_county_code
     *
     * @param departCountyCode the value for d_user_address.depart_county_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartCountyCode(String departCountyCode) {
        this.departCountyCode = departCountyCode == null ? null : departCountyCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_county_name
     *
     * @return the value of d_user_address.depart_county_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartCountyName() {
        return departCountyName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_county_name
     *
     * @param departCountyName the value for d_user_address.depart_county_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartCountyName(String departCountyName) {
        this.departCountyName = departCountyName == null ? null : departCountyName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_unit_name
     *
     * @return the value of d_user_address.depart_unit_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartUnitName() {
        return departUnitName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_unit_name
     *
     * @param departUnitName the value for d_user_address.depart_unit_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartUnitName(String departUnitName) {
        this.departUnitName = departUnitName == null ? null : departUnitName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_address
     *
     * @return the value of d_user_address.depart_address
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartAddress() {
        return departAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_address
     *
     * @param departAddress the value for d_user_address.depart_address
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartAddress(String departAddress) {
        this.departAddress = departAddress == null ? null : departAddress.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_contact
     *
     * @return the value of d_user_address.depart_contact
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartContact() {
        return departContact;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_contact
     *
     * @param departContact the value for d_user_address.depart_contact
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartContact(String departContact) {
        this.departContact = departContact == null ? null : departContact.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.depart_phone
     *
     * @return the value of d_user_address.depart_phone
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getDepartPhone() {
        return departPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.depart_phone
     *
     * @param departPhone the value for d_user_address.depart_phone
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setDepartPhone(String departPhone) {
        this.departPhone = departPhone == null ? null : departPhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_province_code
     *
     * @return the value of d_user_address.receipt_province_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptProvinceCode() {
        return receiptProvinceCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_province_code
     *
     * @param receiptProvinceCode the value for d_user_address.receipt_province_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptProvinceCode(String receiptProvinceCode) {
        this.receiptProvinceCode = receiptProvinceCode == null ? null : receiptProvinceCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_province_name
     *
     * @return the value of d_user_address.receipt_province_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptProvinceName() {
        return receiptProvinceName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_province_name
     *
     * @param receiptProvinceName the value for d_user_address.receipt_province_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptProvinceName(String receiptProvinceName) {
        this.receiptProvinceName = receiptProvinceName == null ? null : receiptProvinceName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_city_code
     *
     * @return the value of d_user_address.receipt_city_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptCityCode() {
        return receiptCityCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_city_code
     *
     * @param receiptCityCode the value for d_user_address.receipt_city_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptCityCode(String receiptCityCode) {
        this.receiptCityCode = receiptCityCode == null ? null : receiptCityCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_city_name
     *
     * @return the value of d_user_address.receipt_city_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptCityName() {
        return receiptCityName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_city_name
     *
     * @param receiptCityName the value for d_user_address.receipt_city_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptCityName(String receiptCityName) {
        this.receiptCityName = receiptCityName == null ? null : receiptCityName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_county_code
     *
     * @return the value of d_user_address.receipt_county_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptCountyCode() {
        return receiptCountyCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_county_code
     *
     * @param receiptCountyCode the value for d_user_address.receipt_county_code
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptCountyCode(String receiptCountyCode) {
        this.receiptCountyCode = receiptCountyCode == null ? null : receiptCountyCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_county_name
     *
     * @return the value of d_user_address.receipt_county_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptCountyName() {
        return receiptCountyName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_county_name
     *
     * @param receiptCountyName the value for d_user_address.receipt_county_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptCountyName(String receiptCountyName) {
        this.receiptCountyName = receiptCountyName == null ? null : receiptCountyName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_unit_name
     *
     * @return the value of d_user_address.receipt_unit_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptUnitName() {
        return receiptUnitName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_unit_name
     *
     * @param receiptUnitName the value for d_user_address.receipt_unit_name
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptUnitName(String receiptUnitName) {
        this.receiptUnitName = receiptUnitName == null ? null : receiptUnitName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_address
     *
     * @return the value of d_user_address.receipt_address
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptAddress() {
        return receiptAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_address
     *
     * @param receiptAddress the value for d_user_address.receipt_address
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptAddress(String receiptAddress) {
        this.receiptAddress = receiptAddress == null ? null : receiptAddress.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_contact
     *
     * @return the value of d_user_address.receipt_contact
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptContact() {
        return receiptContact;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_contact
     *
     * @param receiptContact the value for d_user_address.receipt_contact
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptContact(String receiptContact) {
        this.receiptContact = receiptContact == null ? null : receiptContact.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.receipt_phone
     *
     * @return the value of d_user_address.receipt_phone
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getReceiptPhone() {
        return receiptPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.receipt_phone
     *
     * @param receiptPhone the value for d_user_address.receipt_phone
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setReceiptPhone(String receiptPhone) {
        this.receiptPhone = receiptPhone == null ? null : receiptPhone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.is_default
     *
     * @return the value of d_user_address.is_default
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getIsDefault() {
        return isDefault;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.is_default
     *
     * @param isDefault the value for d_user_address.is_default
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault == null ? null : isDefault.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.comment
     *
     * @return the value of d_user_address.comment
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public String getComment() {
        return comment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.comment
     *
     * @param comment the value for d_user_address.comment
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.create_time
     *
     * @return the value of d_user_address.create_time
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.create_time
     *
     * @param createTime the value for d_user_address.create_time
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column d_user_address.update_time
     *
     * @return the value of d_user_address.update_time
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column d_user_address.update_time
     *
     * @param updateTime the value for d_user_address.update_time
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table d_user_address
     *
     * @mbggenerated Wed Nov 02 19:46:54 CST 2016
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", departProvinceCode=").append(departProvinceCode);
        sb.append(", departProvinceName=").append(departProvinceName);
        sb.append(", departCityCode=").append(departCityCode);
        sb.append(", departCityName=").append(departCityName);
        sb.append(", departCountyCode=").append(departCountyCode);
        sb.append(", departCountyName=").append(departCountyName);
        sb.append(", departUnitName=").append(departUnitName);
        sb.append(", departAddress=").append(departAddress);
        sb.append(", departContact=").append(departContact);
        sb.append(", departPhone=").append(departPhone);
        sb.append(", receiptProvinceCode=").append(receiptProvinceCode);
        sb.append(", receiptProvinceName=").append(receiptProvinceName);
        sb.append(", receiptCityCode=").append(receiptCityCode);
        sb.append(", receiptCityName=").append(receiptCityName);
        sb.append(", receiptCountyCode=").append(receiptCountyCode);
        sb.append(", receiptCountyName=").append(receiptCountyName);
        sb.append(", receiptUnitName=").append(receiptUnitName);
        sb.append(", receiptAddress=").append(receiptAddress);
        sb.append(", receiptContact=").append(receiptContact);
        sb.append(", receiptPhone=").append(receiptPhone);
        sb.append(", isDefault=").append(isDefault);
        sb.append(", comment=").append(comment);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}